package com.mybatisplus.mpdemo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @MapperScan("com.mybatisplus.mpdemo.mapper")  扫描mapper文件
 * 不这么写的话就是在每一个mapper上面加@mapper注解
 */
@SpringBootApplication
public class MpdemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(MpdemoApplication.class, args);
    }

}
